package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dtos.ResponseResult;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;

import java.util.List;


public interface ArticleService extends IService<ApArticle> {

    List<ApArticle> load(Short loadType, ArticleHomeDto dto);

    ResponseResult<Long> saveArticle(ArticleDto articleDto);
}
